home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4626 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  874 b 

  1. Path: sun2.ruf.uni-freiburg.de!grafp
  2. From: grafp@sun2.ruf.uni-freiburg.de (Philipp Graf)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Integer Sine tables?
  5. Date: 2 Mar 1996 11:18:37 GMT
  6. Organization: Rechenzentrum der Universitaet Freiburg, Germany
  7. Message-ID: <4h9aqd$r7k@n.ruf.uni-freiburg.de>
  8. References: <4glqbd$4ab@nnrp1.news.primenet.com>
  9. NNTP-Posting-Host: sun2.ruf.uni-freiburg.de
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Stanley Joyce (sjoyce@primenet.com) wrote:
  13. :  Since I am using assembly, how can I make sine tables without using an FPU?
  14. : (i.e. to use in 3d routines)
  15.  
  16.   Well you could use the following approximation:
  17.  
  18.     Sin(A) = A - (A^3)/3! + (A^5)/5! - (A^7)/7! [ +(A^9)/9! - ... ]
  19.  
  20.   This approximation is already quite good for most purposes.
  21.  
  22. --
  23.        -   - -- -- ---( Spin/Abyss )--- -- - -   -
  24.         Philipp Graf,  <grafp@ruf.uni-freiburg.de>
  25.